package com.by.yz.entity;

import java.io.Serializable;

/**
 * Created by John on 2016/10/28.
 */
public class AskBean implements Serializable {
    private String answer;//回答者longin
    private String content;
    private String creater;//提问者longin
    private boolean flag;//判断是否被回答
    private Integer id;
    private String questionimg;
    private String title;

    public AskBean(){}
    public AskBean(Integer id,String questionimg,String creater,String content,String answer,String title,boolean flag){
        this.id=id;
         this.answer=answer;
         this.content=content;
         this.creater=creater;
         this.questionimg=questionimg;
         this.title=title;
         this.flag=flag;

    }
    public void setQuestion_image(String questionimg){this.questionimg=questionimg;}
    public String getQuestion_image(){return questionimg;}
    public void setFlag(boolean flag){this.flag=flag;}
    public boolean getFlag(){return flag;}
    public void setCreater(String creater){this.creater=creater;}
    public String getCreater(){return creater;}
    public void setContent(String content){this.content=content;}
    public String getContent(){return content;}
    public void setAnswer(String answer){this.answer=answer;}
    public String getAnswer(){return answer;}
    public void setTitle(String title){this.title=title;}
    public String getTitle(){return title;}
    public Integer getid(){return id;}
    public void setId(Integer id){this.id=id;}
}
